package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.MoPassageway;

import java.util.*;
public class MoPassagewayExample extends SgExample<MoPassagewayExample.Criteria> {
    public static final Class<MoPassageway> beanClass = MoPassageway.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn cashMoney;
    public static EntityColumn accountType;
    public static EntityColumn fromTime;
    public static EntityColumn timeMin;
    public static EntityColumn tagName;
    public static EntityColumn sysMax;
    public static EntityColumn title;
    public static EntityColumn sysMin;
    public static EntityColumn tradeType;
    public static EntityColumn toTime;
    public static EntityColumn enabled;
    public static EntityColumn passagewayId;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        cashMoney = listMap.get("cashMoney");
        accountType = listMap.get("accountType");
        fromTime = listMap.get("fromTime");
        timeMin = listMap.get("timeMin");
        tagName = listMap.get("tagName");
        sysMax = listMap.get("sysMax");
        title = listMap.get("title");
        sysMin = listMap.get("sysMin");
        tradeType = listMap.get("tradeType");
        toTime = listMap.get("toTime");
        enabled = listMap.get("enabled");
        passagewayId = listMap.get("passagewayId");
        }

    public MoPassagewayExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected MoPassagewayExample.Criteria createCriteriaInternal() {
        return new MoPassagewayExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public MoPassagewayExample.Criteria andCashMoneyIsNull() {
            return isNull(cashMoney);
        }

        public MoPassagewayExample.Criteria andCashMoneyIsNotNull() {
            return isNotNull(cashMoney);
        }

        public MoPassagewayExample.Criteria andCashMoneyEqualTo(String value) {
            return equalTo(cashMoney, value);
        }

        public MoPassagewayExample.Criteria andCashMoneyNotEqualTo(String value) {
            return notEqualTo(cashMoney, value);
        }

        public MoPassagewayExample.Criteria andCashMoneyGreaterThan(String value) {
            return greaterThan(cashMoney, value);
        }

        public MoPassagewayExample.Criteria andCashMoneyGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(cashMoney, value);
        }

        public MoPassagewayExample.Criteria andCashMoneyLessThan(String value) {
            return lessThan(cashMoney, value);
        }

        public MoPassagewayExample.Criteria andCashMoneyLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(cashMoney, value);
        }

        public MoPassagewayExample.Criteria andCashMoneyLike(String value) {
            return like(cashMoney, value);
        }

        public MoPassagewayExample.Criteria andCashMoneyNotLike(String value) {
            return notLike(cashMoney, value);
        }

        public MoPassagewayExample.Criteria andCashMoneyIn(List<String> values) {
            return in(cashMoney, values);
        }

        public MoPassagewayExample.Criteria andCashMoneyNotIn(List<String> values) {
            return notIn(cashMoney, values);
        }

        public MoPassagewayExample.Criteria andCashMoneyBetween(String value1, String value2) {
            return between(cashMoney, value1, value2);
        }

        public MoPassagewayExample.Criteria andCashMoneyNotBetween(String value1, String value2) {
            return notBetween(cashMoney, value1, value2);
        }
        public MoPassagewayExample.Criteria andAccountTypeIsNull() {
            return isNull(accountType);
        }

        public MoPassagewayExample.Criteria andAccountTypeIsNotNull() {
            return isNotNull(accountType);
        }

        public MoPassagewayExample.Criteria andAccountTypeEqualTo(String value) {
            return equalTo(accountType, value);
        }

        public MoPassagewayExample.Criteria andAccountTypeNotEqualTo(String value) {
            return notEqualTo(accountType, value);
        }

        public MoPassagewayExample.Criteria andAccountTypeGreaterThan(String value) {
            return greaterThan(accountType, value);
        }

        public MoPassagewayExample.Criteria andAccountTypeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(accountType, value);
        }

        public MoPassagewayExample.Criteria andAccountTypeLessThan(String value) {
            return lessThan(accountType, value);
        }

        public MoPassagewayExample.Criteria andAccountTypeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(accountType, value);
        }

        public MoPassagewayExample.Criteria andAccountTypeLike(String value) {
            return like(accountType, value);
        }

        public MoPassagewayExample.Criteria andAccountTypeNotLike(String value) {
            return notLike(accountType, value);
        }

        public MoPassagewayExample.Criteria andAccountTypeIn(List<String> values) {
            return in(accountType, values);
        }

        public MoPassagewayExample.Criteria andAccountTypeNotIn(List<String> values) {
            return notIn(accountType, values);
        }

        public MoPassagewayExample.Criteria andAccountTypeBetween(String value1, String value2) {
            return between(accountType, value1, value2);
        }

        public MoPassagewayExample.Criteria andAccountTypeNotBetween(String value1, String value2) {
            return notBetween(accountType, value1, value2);
        }
        public MoPassagewayExample.Criteria andFromTimeIsNull() {
            return isNull(fromTime);
        }

        public MoPassagewayExample.Criteria andFromTimeIsNotNull() {
            return isNotNull(fromTime);
        }

        public MoPassagewayExample.Criteria andFromTimeEqualTo(String value) {
            return equalTo(fromTime, value);
        }

        public MoPassagewayExample.Criteria andFromTimeNotEqualTo(String value) {
            return notEqualTo(fromTime, value);
        }

        public MoPassagewayExample.Criteria andFromTimeGreaterThan(String value) {
            return greaterThan(fromTime, value);
        }

        public MoPassagewayExample.Criteria andFromTimeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(fromTime, value);
        }

        public MoPassagewayExample.Criteria andFromTimeLessThan(String value) {
            return lessThan(fromTime, value);
        }

        public MoPassagewayExample.Criteria andFromTimeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(fromTime, value);
        }

        public MoPassagewayExample.Criteria andFromTimeLike(String value) {
            return like(fromTime, value);
        }

        public MoPassagewayExample.Criteria andFromTimeNotLike(String value) {
            return notLike(fromTime, value);
        }

        public MoPassagewayExample.Criteria andFromTimeIn(List<String> values) {
            return in(fromTime, values);
        }

        public MoPassagewayExample.Criteria andFromTimeNotIn(List<String> values) {
            return notIn(fromTime, values);
        }

        public MoPassagewayExample.Criteria andFromTimeBetween(String value1, String value2) {
            return between(fromTime, value1, value2);
        }

        public MoPassagewayExample.Criteria andFromTimeNotBetween(String value1, String value2) {
            return notBetween(fromTime, value1, value2);
        }
        public MoPassagewayExample.Criteria andTimeMinIsNull() {
            return isNull(timeMin);
        }

        public MoPassagewayExample.Criteria andTimeMinIsNotNull() {
            return isNotNull(timeMin);
        }

        public MoPassagewayExample.Criteria andTimeMinEqualTo(String value) {
            return equalTo(timeMin, value);
        }

        public MoPassagewayExample.Criteria andTimeMinNotEqualTo(String value) {
            return notEqualTo(timeMin, value);
        }

        public MoPassagewayExample.Criteria andTimeMinGreaterThan(String value) {
            return greaterThan(timeMin, value);
        }

        public MoPassagewayExample.Criteria andTimeMinGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(timeMin, value);
        }

        public MoPassagewayExample.Criteria andTimeMinLessThan(String value) {
            return lessThan(timeMin, value);
        }

        public MoPassagewayExample.Criteria andTimeMinLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(timeMin, value);
        }

        public MoPassagewayExample.Criteria andTimeMinLike(String value) {
            return like(timeMin, value);
        }

        public MoPassagewayExample.Criteria andTimeMinNotLike(String value) {
            return notLike(timeMin, value);
        }

        public MoPassagewayExample.Criteria andTimeMinIn(List<String> values) {
            return in(timeMin, values);
        }

        public MoPassagewayExample.Criteria andTimeMinNotIn(List<String> values) {
            return notIn(timeMin, values);
        }

        public MoPassagewayExample.Criteria andTimeMinBetween(String value1, String value2) {
            return between(timeMin, value1, value2);
        }

        public MoPassagewayExample.Criteria andTimeMinNotBetween(String value1, String value2) {
            return notBetween(timeMin, value1, value2);
        }
        public MoPassagewayExample.Criteria andTagNameIsNull() {
            return isNull(tagName);
        }

        public MoPassagewayExample.Criteria andTagNameIsNotNull() {
            return isNotNull(tagName);
        }

        public MoPassagewayExample.Criteria andTagNameEqualTo(String value) {
            return equalTo(tagName, value);
        }

        public MoPassagewayExample.Criteria andTagNameNotEqualTo(String value) {
            return notEqualTo(tagName, value);
        }

        public MoPassagewayExample.Criteria andTagNameGreaterThan(String value) {
            return greaterThan(tagName, value);
        }

        public MoPassagewayExample.Criteria andTagNameGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(tagName, value);
        }

        public MoPassagewayExample.Criteria andTagNameLessThan(String value) {
            return lessThan(tagName, value);
        }

        public MoPassagewayExample.Criteria andTagNameLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(tagName, value);
        }

        public MoPassagewayExample.Criteria andTagNameLike(String value) {
            return like(tagName, value);
        }

        public MoPassagewayExample.Criteria andTagNameNotLike(String value) {
            return notLike(tagName, value);
        }

        public MoPassagewayExample.Criteria andTagNameIn(List<String> values) {
            return in(tagName, values);
        }

        public MoPassagewayExample.Criteria andTagNameNotIn(List<String> values) {
            return notIn(tagName, values);
        }

        public MoPassagewayExample.Criteria andTagNameBetween(String value1, String value2) {
            return between(tagName, value1, value2);
        }

        public MoPassagewayExample.Criteria andTagNameNotBetween(String value1, String value2) {
            return notBetween(tagName, value1, value2);
        }
        public MoPassagewayExample.Criteria andSysMaxIsNull() {
            return isNull(sysMax);
        }

        public MoPassagewayExample.Criteria andSysMaxIsNotNull() {
            return isNotNull(sysMax);
        }

        public MoPassagewayExample.Criteria andSysMaxEqualTo(String value) {
            return equalTo(sysMax, value);
        }

        public MoPassagewayExample.Criteria andSysMaxNotEqualTo(String value) {
            return notEqualTo(sysMax, value);
        }

        public MoPassagewayExample.Criteria andSysMaxGreaterThan(String value) {
            return greaterThan(sysMax, value);
        }

        public MoPassagewayExample.Criteria andSysMaxGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(sysMax, value);
        }

        public MoPassagewayExample.Criteria andSysMaxLessThan(String value) {
            return lessThan(sysMax, value);
        }

        public MoPassagewayExample.Criteria andSysMaxLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(sysMax, value);
        }

        public MoPassagewayExample.Criteria andSysMaxLike(String value) {
            return like(sysMax, value);
        }

        public MoPassagewayExample.Criteria andSysMaxNotLike(String value) {
            return notLike(sysMax, value);
        }

        public MoPassagewayExample.Criteria andSysMaxIn(List<String> values) {
            return in(sysMax, values);
        }

        public MoPassagewayExample.Criteria andSysMaxNotIn(List<String> values) {
            return notIn(sysMax, values);
        }

        public MoPassagewayExample.Criteria andSysMaxBetween(String value1, String value2) {
            return between(sysMax, value1, value2);
        }

        public MoPassagewayExample.Criteria andSysMaxNotBetween(String value1, String value2) {
            return notBetween(sysMax, value1, value2);
        }
        public MoPassagewayExample.Criteria andTitleIsNull() {
            return isNull(title);
        }

        public MoPassagewayExample.Criteria andTitleIsNotNull() {
            return isNotNull(title);
        }

        public MoPassagewayExample.Criteria andTitleEqualTo(String value) {
            return equalTo(title, value);
        }

        public MoPassagewayExample.Criteria andTitleNotEqualTo(String value) {
            return notEqualTo(title, value);
        }

        public MoPassagewayExample.Criteria andTitleGreaterThan(String value) {
            return greaterThan(title, value);
        }

        public MoPassagewayExample.Criteria andTitleGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(title, value);
        }

        public MoPassagewayExample.Criteria andTitleLessThan(String value) {
            return lessThan(title, value);
        }

        public MoPassagewayExample.Criteria andTitleLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(title, value);
        }

        public MoPassagewayExample.Criteria andTitleLike(String value) {
            return like(title, value);
        }

        public MoPassagewayExample.Criteria andTitleNotLike(String value) {
            return notLike(title, value);
        }

        public MoPassagewayExample.Criteria andTitleIn(List<String> values) {
            return in(title, values);
        }

        public MoPassagewayExample.Criteria andTitleNotIn(List<String> values) {
            return notIn(title, values);
        }

        public MoPassagewayExample.Criteria andTitleBetween(String value1, String value2) {
            return between(title, value1, value2);
        }

        public MoPassagewayExample.Criteria andTitleNotBetween(String value1, String value2) {
            return notBetween(title, value1, value2);
        }
        public MoPassagewayExample.Criteria andSysMinIsNull() {
            return isNull(sysMin);
        }

        public MoPassagewayExample.Criteria andSysMinIsNotNull() {
            return isNotNull(sysMin);
        }

        public MoPassagewayExample.Criteria andSysMinEqualTo(String value) {
            return equalTo(sysMin, value);
        }

        public MoPassagewayExample.Criteria andSysMinNotEqualTo(String value) {
            return notEqualTo(sysMin, value);
        }

        public MoPassagewayExample.Criteria andSysMinGreaterThan(String value) {
            return greaterThan(sysMin, value);
        }

        public MoPassagewayExample.Criteria andSysMinGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(sysMin, value);
        }

        public MoPassagewayExample.Criteria andSysMinLessThan(String value) {
            return lessThan(sysMin, value);
        }

        public MoPassagewayExample.Criteria andSysMinLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(sysMin, value);
        }

        public MoPassagewayExample.Criteria andSysMinLike(String value) {
            return like(sysMin, value);
        }

        public MoPassagewayExample.Criteria andSysMinNotLike(String value) {
            return notLike(sysMin, value);
        }

        public MoPassagewayExample.Criteria andSysMinIn(List<String> values) {
            return in(sysMin, values);
        }

        public MoPassagewayExample.Criteria andSysMinNotIn(List<String> values) {
            return notIn(sysMin, values);
        }

        public MoPassagewayExample.Criteria andSysMinBetween(String value1, String value2) {
            return between(sysMin, value1, value2);
        }

        public MoPassagewayExample.Criteria andSysMinNotBetween(String value1, String value2) {
            return notBetween(sysMin, value1, value2);
        }
        public MoPassagewayExample.Criteria andTradeTypeIsNull() {
            return isNull(tradeType);
        }

        public MoPassagewayExample.Criteria andTradeTypeIsNotNull() {
            return isNotNull(tradeType);
        }

        public MoPassagewayExample.Criteria andTradeTypeEqualTo(String value) {
            return equalTo(tradeType, value);
        }

        public MoPassagewayExample.Criteria andTradeTypeNotEqualTo(String value) {
            return notEqualTo(tradeType, value);
        }

        public MoPassagewayExample.Criteria andTradeTypeGreaterThan(String value) {
            return greaterThan(tradeType, value);
        }

        public MoPassagewayExample.Criteria andTradeTypeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(tradeType, value);
        }

        public MoPassagewayExample.Criteria andTradeTypeLessThan(String value) {
            return lessThan(tradeType, value);
        }

        public MoPassagewayExample.Criteria andTradeTypeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(tradeType, value);
        }

        public MoPassagewayExample.Criteria andTradeTypeLike(String value) {
            return like(tradeType, value);
        }

        public MoPassagewayExample.Criteria andTradeTypeNotLike(String value) {
            return notLike(tradeType, value);
        }

        public MoPassagewayExample.Criteria andTradeTypeIn(List<String> values) {
            return in(tradeType, values);
        }

        public MoPassagewayExample.Criteria andTradeTypeNotIn(List<String> values) {
            return notIn(tradeType, values);
        }

        public MoPassagewayExample.Criteria andTradeTypeBetween(String value1, String value2) {
            return between(tradeType, value1, value2);
        }

        public MoPassagewayExample.Criteria andTradeTypeNotBetween(String value1, String value2) {
            return notBetween(tradeType, value1, value2);
        }
        public MoPassagewayExample.Criteria andToTimeIsNull() {
            return isNull(toTime);
        }

        public MoPassagewayExample.Criteria andToTimeIsNotNull() {
            return isNotNull(toTime);
        }

        public MoPassagewayExample.Criteria andToTimeEqualTo(String value) {
            return equalTo(toTime, value);
        }

        public MoPassagewayExample.Criteria andToTimeNotEqualTo(String value) {
            return notEqualTo(toTime, value);
        }

        public MoPassagewayExample.Criteria andToTimeGreaterThan(String value) {
            return greaterThan(toTime, value);
        }

        public MoPassagewayExample.Criteria andToTimeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(toTime, value);
        }

        public MoPassagewayExample.Criteria andToTimeLessThan(String value) {
            return lessThan(toTime, value);
        }

        public MoPassagewayExample.Criteria andToTimeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(toTime, value);
        }

        public MoPassagewayExample.Criteria andToTimeLike(String value) {
            return like(toTime, value);
        }

        public MoPassagewayExample.Criteria andToTimeNotLike(String value) {
            return notLike(toTime, value);
        }

        public MoPassagewayExample.Criteria andToTimeIn(List<String> values) {
            return in(toTime, values);
        }

        public MoPassagewayExample.Criteria andToTimeNotIn(List<String> values) {
            return notIn(toTime, values);
        }

        public MoPassagewayExample.Criteria andToTimeBetween(String value1, String value2) {
            return between(toTime, value1, value2);
        }

        public MoPassagewayExample.Criteria andToTimeNotBetween(String value1, String value2) {
            return notBetween(toTime, value1, value2);
        }
        public MoPassagewayExample.Criteria andEnabledIsNull() {
            return isNull(enabled);
        }

        public MoPassagewayExample.Criteria andEnabledIsNotNull() {
            return isNotNull(enabled);
        }

        public MoPassagewayExample.Criteria andEnabledEqualTo(Boolean value) {
            return equalTo(enabled, value);
        }

        public MoPassagewayExample.Criteria andEnabledNotEqualTo(Boolean value) {
            return notEqualTo(enabled, value);
        }

        public MoPassagewayExample.Criteria andEnabledGreaterThan(Boolean value) {
            return greaterThan(enabled, value);
        }

        public MoPassagewayExample.Criteria andEnabledGreaterThanOrEqualTo(Boolean value) {
            return greaterThanOrEqualTo(enabled, value);
        }

        public MoPassagewayExample.Criteria andEnabledLessThan(Boolean value) {
            return lessThan(enabled, value);
        }

        public MoPassagewayExample.Criteria andEnabledLessThanOrEqualTo(Boolean value) {
            return lessThanOrEqualTo(enabled, value);
        }

        public MoPassagewayExample.Criteria andEnabledIn(List<Boolean> values) {
            return in(enabled, values);
        }

        public MoPassagewayExample.Criteria andEnabledNotIn(List<Boolean> values) {
            return notIn(enabled, values);
        }

        public MoPassagewayExample.Criteria andEnabledBetween(Boolean value1, Boolean value2) {
            return between(enabled, value1, value2);
        }

        public MoPassagewayExample.Criteria andEnabledNotBetween(Boolean value1, Boolean value2) {
            return notBetween(enabled, value1, value2);
        }
        public MoPassagewayExample.Criteria andPassagewayIdIsNull() {
            return isNull(passagewayId);
        }

        public MoPassagewayExample.Criteria andPassagewayIdIsNotNull() {
            return isNotNull(passagewayId);
        }

        public MoPassagewayExample.Criteria andPassagewayIdEqualTo(Long value) {
            return equalTo(passagewayId, value);
        }

        public MoPassagewayExample.Criteria andPassagewayIdNotEqualTo(Long value) {
            return notEqualTo(passagewayId, value);
        }

        public MoPassagewayExample.Criteria andPassagewayIdGreaterThan(Long value) {
            return greaterThan(passagewayId, value);
        }

        public MoPassagewayExample.Criteria andPassagewayIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(passagewayId, value);
        }

        public MoPassagewayExample.Criteria andPassagewayIdLessThan(Long value) {
            return lessThan(passagewayId, value);
        }

        public MoPassagewayExample.Criteria andPassagewayIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(passagewayId, value);
        }

        public MoPassagewayExample.Criteria andPassagewayIdIn(List<Long> values) {
            return in(passagewayId, values);
        }

        public MoPassagewayExample.Criteria andPassagewayIdNotIn(List<Long> values) {
            return notIn(passagewayId, values);
        }

        public MoPassagewayExample.Criteria andPassagewayIdBetween(Long value1, Long value2) {
            return between(passagewayId, value1, value2);
        }

        public MoPassagewayExample.Criteria andPassagewayIdNotBetween(Long value1, Long value2) {
            return notBetween(passagewayId, value1, value2);
        }
    }
}